package com.example.verification.demo.common.exception;

/**
 * Created by hzy on 2018/9/7.
 */

public class MyException extends RuntimeException {
    public String message;
    public int code;

    public MyException() {
        super();
    }

    public MyException(int code, String message) {
        super(message);
        this.code = code;
        this.message = message;
    }


    public MyException(Throwable cause) {
        super(cause);
    }

    public MyException(String message, Throwable cause) {
        super(message, cause);
    }
}
